package com.ruike.alisurface.ui.answerQuestion.bean;

import java.util.List;

/**
 * Author: voodoo
 * CreateDate: 2023/11/22 022上午 11:30
 * Description: 答题回传的商品列表
 */
public class QuestionProductBean {

    /**
     * data : [{"strategy_id":"1726525849978683392","product_name":"九花玉露丸","product_pic":"http://120.78.219.34:8018/UploadFile/product/9bc6ba82-f0dc-4a04-bb76-c98715111d8c.jpg","set_question_count":10,"slot_count":4,"set_pass_count":8,"strategy_class_str":"10题规则"},{"strategy_id":"1726525926113689600","product_name":"布洛芬缓释剂","product_pic":"http://120.78.219.34:8018/UploadFile/product/27523490-34aa-452b-b07f-afe2d98b9019.jpg","set_question_count":10,"slot_count":0,"set_pass_count":8,"strategy_class_str":"5题规则"},{"strategy_id":"1726526023505428480","product_name":"雪参玉蟾丸","product_pic":"http://120.78.219.34:8018/UploadFile/product/ec88addc-89f9-4e49-893c-24494bf1d102.jpg","set_question_count":10,"slot_count":0,"set_pass_count":8,"strategy_class_str":"10题规则"}]
     * code : 0
     * msg : success
     * sendData : 2023-11-21 11:41:12
     */

    int code;
    String msg;
    String sendData;
    List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSendData() {
        return sendData;
    }

    public void setSendData(String sendData) {
        this.sendData = sendData;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {

        /**
         * strategy_id : 1726525849978683392
         * product_name : 九花玉露丸
         * product_pic : http://120.78.219.34:8018/UploadFile/product/9bc6ba82-f0dc-4a04-bb76-c98715111d8c.jpg
         * set_question_count : 10
         * slot_count : 4
         * set_pass_count : 8
         * strategy_class_str : 10题规则
         */
        String strategy_id;
        String product_name;
        String product_pic;
        int set_question_count;
        int slot_count;
        int set_pass_count;
        String strategy_class_str;

        public String getStrategy_id() {
            return strategy_id;
        }

        public void setStrategy_id(String strategy_id) {
            this.strategy_id = strategy_id;
        }

        public String getProduct_name() {
            return product_name;
        }

        public void setProduct_name(String product_name) {
            this.product_name = product_name;
        }

        public String getProduct_pic() {
            return product_pic;
        }

        public void setProduct_pic(String product_pic) {
            this.product_pic = product_pic;
        }

        public int getSet_question_count() {
            return set_question_count;
        }

        public void setSet_question_count(int set_question_count) {
            this.set_question_count = set_question_count;
        }

        public int getSlot_count() {
            return slot_count;
        }

        public void setSlot_count(int slot_count) {
            this.slot_count = slot_count;
        }

        public int getSet_pass_count() {
            return set_pass_count;
        }

        public void setSet_pass_count(int set_pass_count) {
            this.set_pass_count = set_pass_count;
        }

        public String getStrategy_class_str() {
            return strategy_class_str;
        }

        public void setStrategy_class_str(String strategy_class_str) {
            this.strategy_class_str = strategy_class_str;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "strategy_id='" + strategy_id + '\'' +
                    ", product_name='" + product_name + '\'' +
                    ", product_pic='" + product_pic + '\'' +
                    ", set_question_count=" + set_question_count +
                    ", slot_count=" + slot_count +
                    ", set_pass_count=" + set_pass_count +
                    ", strategy_class_str='" + strategy_class_str + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "QuestionProductBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", sendData='" + sendData + '\'' +
                ", data=" + data +
                '}';
    }
}
